﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ERP.Manager.DataEntity;
namespace ERP.Manager.DataProvider
{
    public interface IMscallerinfoRepository
    {
        /// <summary>
        /// 查询公告信息的访问量
        /// </summary>
        /// <returns></returns>
        List<Mscallerinfo> allgetmscallerinfo(int pagecount,int messageid);

        /// <summary>
        /// 查询当前用户有没有查阅公告信息
        /// </summary>
        /// <returns></returns>
        List<Mscallerinfo> allgetmscallerinfomessageid(int messageid, string userid);

        /// <summary>
        /// 添加公告访问信息
        /// </summary>
        /// <returns></returns>
        int addmscallerinfo(Mscallerinfo mscaller);

        /// <summary>
        /// 查询当前公告信息访问人数的总量
        /// </summary>
        /// <param name="messageid"></param>
        /// <returns></returns>
        int allgetmscallerinfocount(int messageid);
    }
}
